/*
 * @Author: cmd 
 * @wechat: cmd_develop 
 * @Date: 2019-05-16 11:55:19 
 * @Last Modified by: cmd
 * @Last Modified time: 2019-05-16 15:09:57
 * @Description: 
 */

import orc from "../orc";
const {ccclass, property} = cc._decorator;

@ccclass
export default class hall extends cc.Component {
    // LIFE-CYCLE CALLBACKS:

    // onLoad () {}

    start () {

    }

    btn_win_rank(){ 
        if(cc.sys.platform == cc.sys.WECHAT_GAME)
        {
            orc.win_manager.win_open('win_rank',0); 
        }
        else
        {
            console.error('web no rank');
        }
               
    }

    // update (dt) {}
}
